<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      p:first-child {
        color: red;
      }
      p:last-child {
        color: red;
      }
      p:nth-child(even) {
        color: red;
      }
      input[type="checkbox"]:checked {
        width: 60px;
        height: 60px;
      }
    </style>
  </head>
  <body>
    <div>
      <p>data1</p>
      <p>data2</p>
      <p>data3</p>
      <p>data4</p>
      <p>data5</p>
    </div>

    <div>
      爱好： <input type="checkbox" name="likes" value="LOL" />LOL
      <input type="checkbox" name="likes" value="DOTA" />DOTA
      <input type="checkbox" name="likes" value="Read" />Read
    </div>
  </body>
</html>
